/*
 * Copyright (c) 2023 MariaDB plc
 *
 * Use of this software is governed by the Business Source License included
 * in the LICENSE.TXT file and at www.mariadb.com/bsl11.
 *
 * Change Date: 2028-05-14
 *
 * On the date above, in accordance with the Business Source License, use
 * of this software will be governed by version 2 or later of the General
 * Public License.
 */
.readonly-sql-code-wrapper {
  background-color: colors.$separator;
  height: 300px;
}

.v-tabs.workspace-tab-style {
  width: unset !important;
  .v-tab {
    font-size: 0.75rem;
    font-weight: 500;
    color: colors.$small-text;
    text-transform: none;
    letter-spacing: -0.01em;
    .v-btn__content {
      height: 100%;
    }
    &--selected {
      color: colors.$primary;
      &::after {
        border: none;
        opacity: 0.12;
        background-color: colors.$primary;
      }
    }
    &--err-tab {
      color: colors.$error !important;
      &:last-of-type {
        border-color: colors.$error !important;
      }
    }
  }
  &.wke-tab-nav,
  &.query-tab-nav {
    .v-tab {
      border-right: 1px solid colors.$table-border;
    }
    .v-slide-group__prev,
    .v-slide-group__next {
      color: colors.$small-text;
      border-bottom: 1px solid colors.$table-border;
      border-right: 1px solid colors.$table-border;
      opacity: 1;
      &--disabled {
        color: #6c7c7b3f;
      }
    }
  }

  &.pagination-btn--small {
    .v-slide-group__prev,
    .v-slide-group__next {
      flex: 0 1 36px;
      min-width: 36px;
    }
  }
}
